import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
import {sharedModule} from '../../sharedModule/shared.module';
import {DemoNgZorroAntdModule} from '../../NG-ZORRO/ng-zorro-antd.module';
import {NzIconModule} from 'ng-zorro-antd/icon';
import {IconDefinition} from '@ant-design/icons-angular';
import {AlertFill} from '@ant-design/icons-angular/icons';
import {PpypCategoryComponent} from './category/ppyp-category/ppyp-category.component';
import {PpypRoutingModule} from './ppyp-routing.module';
import {PpypCommodityOneComponent} from './commodity/ppyp-commodity-one/ppyp-commodity-one.component';
import {PpypCommodityTwoComponent} from './commodity/ppyp-commodity-two/ppyp-commodity-two.component';
import {PpypOrderManageComponent} from './order/ppyp-order-manage/ppyp-order-manage.component';
import {PpypUserManageComponent} from './user/ppyp-user-manage/ppyp-user-manage.component';
import {PpypOrderDetailComponent} from './order/ppyp-order-detail/ppyp-order-detail.component';


const icons: IconDefinition[] = [AlertFill];

@NgModule({
  declarations: [
    PpypCategoryComponent,
    PpypCommodityOneComponent,
    PpypCommodityTwoComponent,
    PpypOrderManageComponent,
    PpypUserManageComponent,
    PpypOrderDetailComponent
  ],
  imports: [
    PpypRoutingModule,
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    RouterModule,
    sharedModule,
    DemoNgZorroAntdModule,
    NzIconModule.forRoot(icons),
  ]
})
export class PpypModule {
}
